package domain;

import java.util.Date;

/**
 * Description: person
 * Created by 4790K_NSL on 2017/5/4.
 */
public class Person {
    private  int id;
    private String name;
    private double age;
    private Date birthday;
    private char gender;
    private boolean whetherGood;

    @Override
    public String toString() {
        return "Person{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", age=" + age +
                ", birthday=" + birthday +
                ", gender=" + gender +
                ", whetherGood=" + whetherGood +
                '}';
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public double getAge() {
        return age;
    }

    public void setAge(double age) {
        this.age = age;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public char getGender() {
        return gender;
    }

    public void setGender(char gender) {
        this.gender = gender;
    }

    public boolean isWhetherGood() {
        return whetherGood;
    }

    public void setWhetherGood(boolean whetherGood) {
        this.whetherGood = whetherGood;
    }
}
